<?php
//Knowledge Management Controller By Teerapong Singthong.
class Knowledge extends Controller{
	function __construct(){
		parent::Controller();
	}
	function index(){

		//model
		$this->load->model('knowledge_model');	//load model.
		$data=$this->knowledge_model->setdata();	//load model->setdata() function.

		//views
		$this->load->view('knowledge_main',$data);	//load view and send argument data.
	}
}
?>